package com.iaiai.cobra.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iaiai.cobra.repository.bean.RoleMenu;

import java.util.List;

/**
 * Created with RoleMenuService.
 * Package: com.iaiai.cobra.system.service
 * Author: iaiai
 * Create Time: 2024/7/16 21:25
 * QQ: 176291935
 * Email: 176291935@qq.com
 * Description:
 */
public interface RoleMenuService extends IService<RoleMenu> {

    //查询配置的菜单
    List<RoleMenu> queryMenus(Long roleId);

    //保存菜单
    void editMenu(Long roleId,List<Long> menuIds);

    //删除菜单
    void delMenu(Long menuId);

    //删除角色
    void delRole(Long roleId);

}
